﻿<?php echo $this->doctype(); ?>
<html>
<head>
	<title>Teste1</title>
</head>
<body>
<h1>Teste1</h1>
<h3>
<?php 
// models
try 
{
	require_once APPLICATION_PATH.'/models/dbSize.php';
	$db_size = new dbSize();
	$rowset = $db_size->fetchAll();
	if (!empty($rowset))
	{
		foreach ($rowset as $row)
		{
			echo $row->name . "\n";
		}
	}
	else
	{
		echo "Table Sizes is Empty!\n";
	}
}
catch (Zend_Exception $e)
{	//maybe the resource is not in the table... 
	print '<pre>'.$e.'</pre>';
}	
?>


</h3>
</body>		
</html>